/*
 * LogEx a Java library for extracting log file data
 * Copyright 2012 LogEx Team.
 *
 * This program is free software. You can distribute or modify it under the 
 * terms of the GNU Lesser General Public License version 3.0 as published by  
 * the Free Software Foundation.
 *
 * This program is distributed AS IS and WITHOUT WARRANTY. OF ANY KIND,
 * INCLUDING MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, contact the Free Software Foundation, Inc.,
 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
package org.logex.obj;

import java.util.Map;

/**
 * @author Lohitha Chiranjeewa
 */
public class Sibling {

	private String tagName;
	private Map<String, String> xmlMap;
	
	public Sibling(String tagName,Map<String, String> xmlMap) {
		this.tagName = tagName;
		this.xmlMap = xmlMap;
	}

	/**
	 * @return tagName The name of the outer tag
	 */
	public String getTagName() {
		return tagName;
	}

	/**
	 * @return xmlMap The map with data needed to create XML elements
	 */
	public Map<String, String> getXmlMap() {
		return xmlMap;
	}
	
}
